export namespace="iam-system"
export app_name="casdoor"
export repo="casdoor"
# export helm="$repo/casdoor-helm-charts"
export url="oci://docker.linkos.org/casbin/casdoor-helm-charts"

# helm repo remove $repo
# helm repo add $repo $url
# helm repo update $repo

# helm search repo dapr --devel --versions

helm upgrade --create-namespace --install \
    -n $namespace $app_name $url \
    -f values.yaml

# 初始化管理员密码
# admin 123
# helm install -n $namespace $app_name $url \
#     -f values.yaml
